package org.yak.core.web;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.yak.core.store.Identifiable;


/**
 * 基础控制器接口实现类
 * @author zhouyang
 * @date 2014年3月5日下午12:03:13
 */
public abstract class BaseController<T extends Identifiable> implements IBaseController<T> {

	protected Logger logger = LoggerFactory.getLogger(BaseController.class);

	/**
	 * @fields path 页面路径信息
	 */
	protected ControllerPath path = new ControllerPath(this.getClass());
	
	@Resource
	protected HttpServletRequest request;
	
	@Resource
	protected HttpSession session;

}
